import httpRequest from './http' // 引入axios封装请求

export default {
  // get请求
  // getUser: (param) => httpRequest.get('/manager/user/member/info', param), // 获取用户信息
  get: (url, param, otherConfigs) => httpRequest.get(url, param, otherConfigs), // get请求带url,
  post: (url, param, otherConfigs) => httpRequest.post(url, param, otherConfigs), // post请求带url
  getToken: (param) => httpRequest.post('/loginx', param) // 获取token
}
